<template>
    <section>
    
    <div style="width:1502px;margin:0 auto;">
        <!-- <el-carousel :interval="40000" type="card" height="300px"  indicator-position="outside" class="container">
        <el-carousel-item v-for="item in playlist.pathArray" :key="item">
            <img :src="item" style="width:751px;height:300px">
        </el-carousel-item>
        </el-carousel> -->
    <div>
        <ul class="section_inner">
        <h2 class="tit">最新上架</h2>
        <ItemCard :PathFolder="PathFolder" :Nums="Shownums" :need="false" >
        <template slot="list_title_txt">
            <h4>hello</h4>
            <div class="albumlist_author">
               <a > 李健</a>
            </div>
            <div class="albumlist_price">
                <strong class="price_nums"> $ 20</strong>
                <a class="buy">立即购买</a>
            </div>
        </template>
        </ItemCard>
        <h2  class="tit">本周热销</h2>
        <ItemCard :PathFolder="PathFolder" :Nums="Shownums" :need="false" >
            <template slot="list_title_txt">
            <h4>hello</h4>
            <div class="albumlist_author">
               <a > 李健</a>
            </div>
            <div class="albumlist_price">
                <strong class="price_nums"> $ 20</strong>
                <a class="buy">立即购买</a>
            </div>
        </template>
        </ItemCard>

        <h2  class="tit">新声力量集结</h2>
        <ItemCard :PathFolder="PathFolder" :Nums="Shownums" :need="false" >
            <template slot="list_title_txt">
            <h4>hello</h4>
            <div class="albumlist_author">
               <a > 李健</a>
            </div>
            <div class="albumlist_price">
                <strong class="price_nums"> $ 20</strong>
                <a class="buy">立即购买</a>
            </div>
        </template>
        </ItemCard>

        <h2  class="tit">最新上架</h2>
        <ItemCard :PathFolder="PathFolder" :Nums="Shownums" :need="false" >
            <template slot="list_title_txt">
            <h4>hello</h4>
            <div class="albumlist_author">
               <a > 李健</a>
            </div>
            <div class="albumlist_price">
                <strong class="price_nums"> $ 20</strong>
                <a class="buy">立即购买</a>
            </div>
        </template>
        </ItemCard>

        <h2  class="tit">内地专辑推荐</h2>
        <ItemCard :PathFolder="PathFolder" :Nums="Shownums" :need="false" >
            <template slot="list_title_txt">
            <h4>hello</h4>
            <div class="albumlist_author">
               <a > 李健</a>
            </div>
            <div class="albumlist_price">
                <strong class="price_nums"> $ 20</strong>
                <a class="buy">立即购买</a>
            </div>
        </template>
        </ItemCard>

        <h2  class="tit">韩国专辑推荐</h2>
        <ItemCard :PathFolder="PathFolder" :Nums="Shownums" :need="false" >
            <template slot="list_title_txt">
            <h4>hello</h4>
            <div class="albumlist_author">
               <a > 李健</a>
            </div>
            <div class="albumlist_price">
                <strong class="price_nums"> $ 20</strong>
                <a class="buy">立即购买</a>
            </div>
        </template>
        </ItemCard>

       
    </ul>
    </div>
    </div>
</section>
</template>
<script>

// const CarouselImage = require.context('@/assets/ZhuanJiPage', false, /\.(png|jpg|jpeg|gif|webp)$/);//读取图片,返回一个函数
// const CardImage = require.context('@/assets/XinDiePage', false, /\.(png|jpg|jpeg|gif|webp)$/);
const PathFolder = require.context('@/assets/XinDiePage', false, /\.(png|jpg|jpeg|gif|webp)$/);

import ItemCard from '../ItemCard.vue';
    export default{
        name:'ZhuanJiPage',
        components:{
            ItemCard
        }
        ,
        data(){
            return{
                PathFolder,
                Shownums:5
            }
        }

    }

</script>
<style scoped>
.buy{
    position: absolute;
  top: 0;
  right: 21px;
  margin-right: 0;
  font-size: 12px;
  line-height: 28px;
  height: 28px;
  width: 80px;
  padding: 0;
  text-align: center;
  border: 1px solid #c9c9c9;
}
.price_nums{
    font-weight: 400;
    line-height: 28px;
}
.albumlist_price{
    position: relative;
}
    .albumlist_author{
        color:#999;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 22px;
    }
    .tit{
       float: left;
    }
    .container{
        width:1502px;
    }
    .section_inner{
    width: 1250px;
    margin: 0 auto;
    overflow: auto;
}
.el-card__body{
    padding: 0px !important;
    width: 230px;
    height: 230px;
}
.playlist_other{
    text-decoration: none;
    color: #999;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 22px;
    font-size:14px;
}
.playlist_author a{
    text-decoration: none;
    color: #999;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 22px;
    font-size:14px;
}
.playlist_tit span a{
    text-decoration: none;
    font-size: 14px;
}
.playlist_tit{
    margin: 0;
    padding: 0;
}
.playlist_cover{
    position: relative;
    display: block;
    overflow: hidden;
    margin-bottom: 15px;
}
.playlist_item_box{
    width: 230px;
    margin-right: 20px;
}
.infinite-list-item{
    border: none;
    width: 20%;
    min-width: 230px;
    padding-bottom: 44px;
    overflow: hidden;
    font-size: 14px;
    vertical-align: top;
    display: inline-block;
    white-space: nowrap;
}
.infinite-list{
    padding:0;
    width: 100%;
    height: 1007.58px;
   
    overflow: hidden;
}
.tag_item{
    
    cursor: pointer;
    /* float:left; */
    padding:0 8px;
    margin:0 24px 15px 0;
    text-decoration:none;
}
 .tag_list_p{
    width: 1200px;
    position:relative;
    margin:0 auto;
 }
 .tag_list_c{
    position:relative;
    height:auto;
    clear:both;
    overflow:hidden;
    line-height:26px;
    padding-left:65px;
 }
 .album_list{

    /* width:1200px;
    min-width:900px; */
    height: 1007.58px;
    margin:0 auto;
    padding:35px 0 0;
    position: relative;
 }
</style>